package com.qqtech.qquan.push.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class PushAudience extends BaseDomain{

	//columns START
    /** 用户设备推送注册id */
	private java.lang.String registrationId;
    /** 业务用户id */
	private java.lang.Integer userId;
    /** 用户(设备)别名，一个用户(设备)只有一个别名 */
	private java.lang.String alias;
    /** 用户(设备)标签，一对多，多个标签用英文分号";"隔开。用于对某个tag群发 */
	private java.lang.String tag;
	//columns END
	public PushAudience(){
	}

	public PushAudience( java.lang.Integer id ){
		this.id = id;
	}

	public void setRegistrationId(java.lang.String registrationId) {
		this.registrationId = registrationId;
	}

	public java.lang.String getRegistrationId() {
		return this.registrationId;
	}
	
	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setAlias(java.lang.String alias) {
		this.alias = alias;
	}

	public java.lang.String getAlias() {
		return this.alias;
	}
	
	public void setTag(java.lang.String tag) {
		this.tag = tag;
	}

	public java.lang.String getTag() {
		return this.tag;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

